class CreateLabels < ActiveRecord::Migration
  def self.up
    create_table :labels do |t|
      t.string :name, :null => false
      t.text :info
      t.integer :label_id
      t.integer :forum_id
      t.integer :foundedDay
      t.integer :foundedMonth
      t.integer :foundedYear
      t.integer :closedDay
      t.integer :closedMonth
      t.integer :closedYear
      t.integer :place_id

      t.timestamps
    end
  end

  def self.down
    drop_table :labels
  end
end
